package org.example.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/login")
public class LoginController {
    /**
     * 跳转到登陆页面
     */
    @PostMapping("/toLogin")
    public String toLogin(){
        return "login";
    }

}